<template>
    <div class="starter-template">
      <h1>列表组件{{message}}</h1>
      <list data-source="http://localhost:4040/list.json"></list>
    </div>
</template>
<style scoped>

</style>
<script>
import Vue from 'vue';

export default {
    data (){
        return {
            message:""
        }
    },
    route :{
        data: function(){
            var message = 'xxxxx'
            return Promise.resolve({message})
        }
    }
}
</script>
